Integrand size = 23, antiderivative size = 53 \[ \int \frac {\sqrt {\cos (c+d x)}}{a+b \cos (c+d x)} \, dx=\frac {2 \operatorname {EllipticF}\left (\frac {1}{2} (c+d x),2\right )}{b d}-\frac {2 a \operatorname {EllipticPi}\left (\frac {2 b}{a+b},\frac {1}{2} (c+d x),2\right )}{b (a+b) d} \]
[Out]
Time = 0.12 (sec) , antiderivative size = 53, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.130, Rules used = {2882, 2720, 2884} \[ \int \frac {\sqrt {\cos (c+d x)}}{a+b \cos (c+d x)} \, dx=\frac {2 \operatorname {EllipticF}\left (\frac {1}{2} (c+d x),2\right )}{b d}-\frac {2 a \operatorname {EllipticPi}\left (\frac {2 b}{a+b},\frac {1}{2} (c+d x),2\right )}{b d (a+b)} \]
[In]
[Out]
Rule 2720
Rule 2882
Rule 2884
Rubi steps \begin{align*} \text {integral}& = \frac {\int \frac {1}{\sqrt {\cos (c+d x)}} \, dx}{b}-\frac {a \int \frac {1}{\sqrt {\cos (c+d x)} (a+b \cos (c+d x))} \, dx}{b} \\ & = \frac {2 \operatorname {EllipticF}\left (\frac {1}{2} (c+d x),2\right )}{b d}-\frac {2 a \operatorname {EllipticPi}\left (\frac {2 b}{a+b},\frac {1}{2} (c+d x),2\right )}{b (a+b) d} \\ \end{align*}
Time = 0.16 (sec) , antiderivative size = 48, normalized size of antiderivative = 0.91 \[ \int \frac {\sqrt {\cos (c+d x)}}{a+b \cos (c+d x)} \, dx=\frac {2 \operatorname {EllipticF}\left (\frac {1}{2} (c+d x),2\right )-\frac {2 a \operatorname {EllipticPi}\left (\frac {2 b}{a+b},\frac {1}{2} (c+d x),2\right )}{a+b}}{b d} \]
[In]
[Out]
Time = 2.92 (sec) , antiderivative size = 188, normalized size of antiderivative = 3.55
method | result | size |
default | \(-\frac {2 \sqrt {\left (2 \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1\right ) \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \sqrt {\frac {1}{2}-\frac {\cos \left (d x +c \right )}{2}}\, \sqrt {-2 \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+1}\, \left (F\left (\cos \left (\frac {d x}{2}+\frac {c}{2}\right ), \sqrt {2}\right ) a -F\left (\cos \left (\frac {d x}{2}+\frac {c}{2}\right ), \sqrt {2}\right ) b -a \Pi \left (\cos \left (\frac {d x}{2}+\frac {c}{2}\right ), -\frac {2 b}{a -b}, \sqrt {2}\right )\right )}{\left (a -b \right ) b \sqrt {-2 \left (\sin ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )}\, \sin \left (\frac {d x}{2}+\frac {c}{2}\right ) \sqrt {2 \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1}\, d}\) | \(188\) |
[In]
[Out]
Timed out. \[ \int \frac {\sqrt {\cos (c+d x)}}{a+b \cos (c+d x)} \, dx=\text {Timed out} \]
[In]
[Out]
Timed out. \[ \int \frac {\sqrt {\cos (c+d x)}}{a+b \cos (c+d x)} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \frac {\sqrt {\cos (c+d x)}}{a+b \cos (c+d x)} \, dx=\int { \frac {\sqrt {\cos \left (d x + c\right )}}{b \cos \left (d x + c\right ) + a} \,d x } \]
[In]
[Out]
\[ \int \frac {\sqrt {\cos (c+d x)}}{a+b \cos (c+d x)} \, dx=\int { \frac {\sqrt {\cos \left (d x + c\right )}}{b \cos \left (d x + c\right ) + a} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {\sqrt {\cos (c+d x)}}{a+b \cos (c+d x)} \, dx=\int \frac {\sqrt {\cos \left (c+d\,x\right )}}{a+b\,\cos \left (c+d\,x\right )} \,d x \]
[In]
[Out]